package kjh820909.basic;

public class J02_Math2Java {

	public static void main(String[] args) {
		int x;
		int y;
		int z;
		int s0;
		int v0;
		int t;
		int g;
		
		
		x=3;
		y=4;
		z=5;
		s0=6;
		v0=7;
		t=8;
		g=9;
		
		System.out.println("3x = " + (3*x));
		System.out.println("3x+y = " + (3*x+y));
		System.out.println("x+y/7 = " + ((x+y)/7));
		System.out.println("s = s0 + v0t + 1/2gt^2 = " + (s0+v0*t+1/2*g*t*t));

	}

}
